home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib02.dsk
/
STR$ IN INTEGER.int
< prev
next >
Wrap
Text File
|
2023-02-26
|
441b
|
11 lines
1 REM *** STR$ IN INTEGER ***
2 REM BY WILLIAM REYNOLDS III
3 REM COPYRIGHT (C) 1980
4 REM BY MICRO-SPARC, INC.
5 REM LINCOLN, MA. 01773
10 INPUT X:GOSUB 100:PRINT :PRINT "X = ";X:PRINT :PRINT "X$ = ";X$:END
100 AD1=0:AD1= PEEK (204)+ PEEK (205)*256+5:DIM X$(6):AD2= PEEK (40)+ PEEK (41)*256+ PEEK (36):PRINT X;" ";
110 POKE AD1, PEEK (AD2):IF PEEK (AD2)=160 THEN 130
120 AD1=AD1+1:AD2=AD2+1:GOTO 110
130 POKE AD1,30:PRINT :RETURN